import {createRouter,createWebHashHistory} from 'vue-router'
const routes = [
    {
        path: '/',
        name: 'home',
        component: ()=>import('../views/home/index.vue')
    },
    {
        path: '/login',
        name: 'login',
        component: ()=>import('../views/login/index.vue')
    }
]

const router = createRouter({
    routes,
    history: createWebHashHistory()
})

export default router